<template>
  <div class="app-container">
    <NavBar />
    <main class="router-view-content">
      <router-view />
    </main>
  </div>
</template>

<script>
import NavBar from './components/NavBar.vue'

export default {
  name: 'App',
  components: {
    NavBar
  }
}
</script>

<style scoped>
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(120deg, #e0eafc 0%, #cfdef3 100%);
}

body {
  margin: 0;
  padding: 0;
}

.router-view-content {
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 32px auto 0 auto;
  padding: 32px 18px 24px 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
  min-height: 60vh;
  transition: box-shadow 0.3s;
}

@media (max-width: 1000px) {
  .router-view-content {
    max-width: 98vw;
    padding: 18px 2vw 18px 2vw;
  }
}
</style>